<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>图片</title>
    <style>
        img {
            border-style: dotted;
            /* border-style: solid; */
            width: 400px;
            border-width: 2px;
            border-color: red;
            border-color: red green;
            /* border: dotted 2px red; */
        }
    </style>
</head>
<body>
    <img src="../盒子模型、浮动、定位/src/1.png" />
    <p><img src="../盒子模型、浮动、定位/src/1.png" alt=""></p>
</body>
</html>